package org.codeart.factory.scheme01.service;

import org.codeart.factory.scheme01.pojo.DiscountResult;

/**
 * 打折券服务
 */
public class DiscountService {

    public DiscountResult sendDiscount(String uid, String awardNumber) {
        System.out.println("向用户发送一张打折券: " + uid + ", " + awardNumber);
        return new DiscountResult("200", "发放优惠券成功");
    }
}
